import "./App.css";
import Routers from "./router/index";
import MyContext from "./utils/myContext";
import store from "./store/store";
// import { Outlet } from "react-router-dom";
// 1.搭建项目： npx create-react-app my-react
//2.下载antd npm install antd --save
//3下载 router npm install react-router-dom
//4下载 sass npm i sass
//5.npm install --save mobx 安装mbox状态管理库
//6.npm install mobx mobx-react 安装 mobx-react
function App() {
  return (
    <MyContext.Provider value={store}>
      <div className="App" style={{ height: "100%" }}>
        {/* <Outlet></Outlet> */}
        <Routers></Routers>
      </div>
    </MyContext.Provider>
  );
}

export default App;
